<?php
if (!defined('BASEPATH'))
    exit('No direct script access allowed');
/**
 * Projeto Interdiciplinar
 * Gurpo 1 - Primeira turma do curso de Aux Info da Escom Brasília
 * Criado em: 17/11/2012, 23:33:26
 * Description of v_relUsuarios
 *
 *  * @author 2 Sgt Lemoel, 
 *         3 Sgt Albuquerque,
 *         3 Sgt Azambuja,
 *         3 Fabio Moura
 * @since 11/2012
 * @version 1
 */
?>
<div id="editar" class="ui-state-highlight">
        <h3 style="text-align: center;"><span style="font-family: Tahoma; font-size: 14px;">ORDENS</span></h3>
    <br/>
    <table style="height:100%; width:100%;" cellpadding="1" cellspacing="2" border="1" class="display" id="relUsuarios">
        <thead>
            <tr align="center" style="font-size: 11px ;">
                <th width="5%">COD</th>
                <th width="60%">DESC</th>
                <th>DESTINO</th>
                <th>DT INCIO</th>
                <th>DT FIM</th>
                <th>EMITIDA POR</th>
                <th width="10%">PERFIL</th>
                <?
                    if($this->session->userdata('perfilId') == SubCmt || $this->session->userdata('perfilId') == Cmt ){
                        echo '<th width="5%" >AÇÃO</th>';
                    }
                ?>
                
            </tr>
        </thead>
        <tbody>
            <?= @$ordem ?>
        </tbody>
    </table>
</div>
<script type='text/javascript'>
    $(document).ready(function() {
         formataTable('relUsuarios');   
    });
</script>